package com.neuedu.cockpit.domain;

import com.neuedu.common.annotation.Excel;
import com.neuedu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 车辆状态对象 car_mileage
 *
 * @author neuedu
 * @date 2024-07-08
 */
public class CarMileage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录流水号
     */
    private Long id;

    /**
     * 车辆id
     */
    @Excel(name = "车辆id")
    private Long carId;

    /**
     * 里程数
     */
    @Excel(name = "里程数")
    private String mileage;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getMileage() {
        return mileage;
    }

    public void setMileage(String mileage) {
        this.mileage = mileage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("carId", getCarId())
                .append("mileage", getMileage())
                .append("createTime", getCreateTime())
                .toString();
    }
}
